package com.neu.fenli2023623.service;

import com.neu.fenli2023623.dto.HealthEncyclopediaDto;
import com.neu.fenli2023623.entity.HealthEncyclopedia;
import com.neu.fenli2023623.vo.HealthEncyclopediaVo;

import java.util.List;

public interface HealthEncyclopediaService {

    List<HealthEncyclopediaVo> quaryall();

    int addHealthEncyclopedia(HealthEncyclopediaDto record);//增加

    int deleteHealthEncyclopediaByPrimaryKey(Long id);//删除

    List<HealthEncyclopedia> selectByName(String name);//查询

    HealthEncyclopedia selectHealthEncyclopediaByPrimaryKey(Long id);
    int updateHealthEncyclopediaByPrimaryKey(HealthEncyclopediaDto record);//更新
}
